package com.xianzhi.service;


import com.xianzhi.bean.Admin;
import com.xianzhi.dao.AdminDao;

public class AdminService {
    private AdminDao adminDao;

    public void setAdminDao(AdminDao adminDao) {
        this.adminDao = adminDao;
    }

    public  Admin  add(){
        System.out.println("service");
        Admin admin = adminDao.getById("1");
        return admin;
    }
}
